//=============================================================================
/**
 * @file	phclink_obj.h
 * @brief	PHC-DS接続画面OBJ処理ヘッダ
 *
 * @author	Akito Mori
 * @date    2009.01.29
 */
//=============================================================================

#ifndef __PHCLINK_OBJ_H__
#define __PHCLINK_OBJ_H__


// アクターの表示のオン・オフ定義
enum{
	ACT_OFF=0,	///< セルアクター表示
	ACT_ON,		///< セルアクター非表示
};


extern void PhcLinkObj_Init( PHCLINK_WORK * wk );
extern void PhcLinkObj_ClactFree( PHCLINK_WORK *wk  );
extern void PhcLinkObj_PokemonIconChange( PHCLINK_WORK * wk, int pos, u16 no, u8 form );
extern void PhcLinkObj_CursorPosAppearSet( PHCLINK_WORK *wk, int pos );
extern void PhcLinkObj_CursorDisappear( PHCLINK_WORK *wk );
extern void PhcLinkObj_CursorBlink( PHCLINK_WORK *wk );
extern void PhcLinkObj_CursorInit(  PHCLINK_WORK *wk );

extern void PhcLinkObj_PhcDisappear( PHCLINK_WORK *wk );
extern void PhcLinkObj_PhcAppear( PHCLINK_WORK *wk, int anim );
extern void PhcLinkObj_PhcIrcAnime( PHCLINK_WORK *wk );


extern void PhcLinkObj_Appear( PHCLINK_WORK *wk, int no );
extern void PhcLinkObj_Disappear( PHCLINK_WORK *wk, int no );
extern void PhcLinkObj_AnimSet( PHCLINK_WORK *wk, int no, int anim );
extern void PhcLinkObj_PosSet( PHCLINK_WORK *wk, int no, int x, int y );

extern void PhcLinkObj_PokeIconChange( PHCLINK_WORK *wk, int pos, int monsno, int form );

extern void PhcLink_LightObjInit( PHCLINK_WORK *wk );
extern void PhcLinkObj_SetLightPos( PHCLINK_WORK *wk, int lightno, int pat, int x, int y );
extern void PhcLinkObj_LightObjMain( PHCLINK_WORK *wk );
extern void PhcLinkObj_LightObjBirth( PHCLINK_WORK *wk );
extern void PhcLinkObj_DownLightObjBirth( PHCLINK_WORK *wk );
extern int PhcLinkObj_LightEarlyDie( PHCLINK_WORK *wk );

extern void PhcLinkObj_PokeLumpAppear( PHCLINK_WORK *wk, PHC_LIGHT_WORK *light );
extern void PhcLinkObj_PokeLumpDisappear( PHCLINK_WORK *wk );
extern void PhcLinkObj_PokeLumpSetPos( PHCLINK_WORK *wk, int x, int y );
extern void PhcLinkObj_PokeLumpInit( PHCLINK_WORK *wk, PHC_LIGHT_WORK *light, int flag );
extern  int PhcLinkObj_PokeLumpMain( PHCLINK_WORK *wk, PHC_LIGHT_WORK *light );


#endif	// __PHCLINK_OBJ_H__